﻿using System;
using System.Collections.Generic;

namespace IPR_StudyMeetingMrgSys.Model
{
	/// <summary>
	/// TrainCourse:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class TrainCourse
	{
		public TrainCourse()
		{}
		#region Model
		private long _autoid;
		private long _tpid;
		private long _tcid;
        private long _tcoid;
        private string _tconame;
        private string _trainteacherid;
		private string _trainteachername;
		private DateTime? _startdatetime;
		private DateTime? _enddatetime;
		private int? _duration;
		private int? _depid;
		private int? _ischeck;
		private int? _isrelease;
		private string _adduserid;
		private string _addusername;
		private DateTime? _adddatetime;
		private int? _isuse;
		private int? _deplevel;
        private string _senddepid;
        private long _crid;
        private string _crname;
		/// <summary>
		/// 
		/// </summary>
		public long AutoID
		{
			set{ _autoid=value;}
			get{return _autoid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long TPID
		{
			set{ _tpid=value;}
			get{return _tpid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long TCID
		{
			set{ _tcid=value;}
			get{return _tcid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long TCOID
		{
			set{ _tcoid=value;}
			get{return _tcoid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string TrainTeacherID
		{
			set{ _trainteacherid=value;}
			get{return _trainteacherid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string TrainTeacherName
		{
			set{ _trainteachername=value;}
			get{return _trainteachername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDateTime
		{
			set{ _startdatetime=value;}
			get{return _startdatetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndDateTime
		{
			set{ _enddatetime=value;}
			get{return _enddatetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Duration
		{
			set{ _duration=value;}
			get{return _duration;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? DepID
		{
			set{ _depid=value;}
			get{return _depid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? IsCheck
		{
			set{ _ischeck=value;}
			get{return _ischeck;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? IsRelease
		{
			set{ _isrelease=value;}
			get{return _isrelease;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AddUserID
		{
			set{ _adduserid=value;}
			get{return _adduserid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AddUserName
		{
			set{ _addusername=value;}
			get{return _addusername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddDateTime
		{
			set{ _adddatetime=value;}
			get{return _adddatetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? IsUse
		{
			set{ _isuse=value;}
			get{return _isuse;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? DepLevel
		{
			set{ _deplevel=value;}
			get{return _deplevel;}
		}
        /// <summary>
        /// 
        /// </summary>
        public long CRID
        {
            set { _crid = value; }
            get { return _crid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SendDepID
        {
            set { _senddepid = value; }
            get { return _senddepid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CRName
        {
            set { _crname = value; }
            get { return _crname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string TCOName
        {
            set { _tconame = value; }
            get { return _tconame; }
        }
        #endregion Model

    }
    public class ReportCourseStudy
    {
        public string DepName { get; set; }
        public long DepID { get; set; }
        public int xcount { get; set; }
        public int ycount { get; set; }
        public int wcount { get; set; }
    }
    public class ReportCourseCount
    {
        public string flagId { get; set; }
        public int depPId { get; set; }
        public int DepID { get; set; }
        public string DepName { get; set; }
        public string StudyDateTime { get; set; }
        public int x { get; set; }
        public int x2 { get; set; }
    }

    public class ReportCoursePerson
    {
        public string UserID { get; set; }
        public string UserName { get; set; }
        public string Sex { get; set; }
        public string Post { get; set; }
        public string DepName { get; set; }
        public string Groups { get; set; }
    }

    public class UserAttendanceInfo
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        public string Post { get; set; }
        public int d26 { get; set; }
        public int d27 { get; set; }
        public int d28 { get; set; }
        public int d29 { get; set; }
        public int d30 { get; set; }
        public int d31 { get; set; }

        public int d1 { get; set; }
        public int d2 { get; set; }
        public int d3 { get; set; }
        public int d4 { get; set; }
        public int d5 { get; set; }
        public int d6 { get; set; }
        public int d7 { get; set; }
        public int d8 { get; set; }
        public int d9 { get; set; }
        public int d10 { get; set; }
        public int d11{ get; set; }
        public int d12{ get; set; }
        public int d13{ get; set; }
        public int d14{ get; set; }
        public int d15{ get; set; }
        public int d16{ get; set; }
        public int d17{ get; set; }
        public int d18{ get; set; }
        public int d19{ get; set; }
        public int d20 { get; set; }
        public int d21{ get; set; }
        public int d22{ get; set; }
        public int d23{ get; set; }
        public int d24{ get; set; }
        public int d25{ get; set; }
      
        /// <summary>
        /// 合计1
        /// </summary>
        public int d_total { get; set; }
        /// <summary>
        /// 合计2  【26-30或者31】
        /// </summary>
        public int d_total2 { get; set; }
        /// <summary>
        /// 成绩= 合计1
        /// </summary>
        public int achievement { get; set; }
        /// <summary>
        /// 备注  空
        /// </summary>
        public string Remark { get; set; }
    }
    //public class ReportCourseData {
    //    public List<ReportCourseCount> reportCourseCounts1 = new List<ReportCourseCount>();
    //    public List<ReportCourseCount> reportCourseCounts2 = new List<ReportCourseCount>();
    //}
}

